//
//  WebViewController.m
//  jingdong
//
//  Created by 陈明光 on 2021/7/24.
//  Copyright © 2021 陈明光. All rights reserved.
//

#import "WebViewController.h"

@interface WebViewController ()
@property (nonatomic, strong) Activity *activity;
@end

@implementation WebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor redColor];
    self.title = self.activity.name;
}

- (instancetype)initWithActivity:(Activity *)activity
{
    self = [super init];
    self.activity = activity;
    return self;
}

@end
